
// 手机号验证
let valid_rule_phone = /^(13[0-9]|14[5-9]|15[012356789]|166|17[0-8]|18[0-9]|19[8-9])[0-9]{8}$/; 

export const phoneVaild = function(val){
	if (!valid_rule_phone.test(val)) {
		uni.showToast({
			icon: 'none',
			title: '请输入正确的手机号'
		});
		return false;
	}else{
		return true
	}
	
}